#ifndef LEGENDDELEGATE_H
#define LEGENDDELEGATE_H

#include <QItemDelegate>

class LegendDelegate : public QItemDelegate
{
Q_OBJECT
public:
    explicit LegendDelegate(QObject *parent = 0);
    void paint(QPainter *painter,
               const QStyleOptionViewItem &option,
               const QModelIndex &index) const;

protected:
    /*
    void drawBackground(QPainter *painter,
                        const QStyleOptionViewItem &option,
                        const QModelIndex &index) const;
                        */

signals:

public slots:

};

#endif // LEGENDDELEGATE_H
